import request from "@/utils/request"

/**
 * @description 生成订单
 */

export function orderAdd(data) {
    return request({
        method: 'POST',
        url: '/frontend/order/add/',
        data,
    })
}

/**
 * @description 订单列表
 */

export function orderList(data) {
    return request({
        method: 'POST',
        url: '/frontend/order/list/',
        data: data
    })
}

/**
 * @description 修改订单状态
 */

export function orderEdit(queryObj) {
    return request({
        method: 'POST',
        url: '/frontend/update/status/',
        data: queryObj
    })
}